package com.loan.enums;

public enum InvestLogType {
	
	/** 分润收益 */
	SHARE("share", "add"),
	/** 推荐好友分润收益 */
	FRIEND("friend", "add"),
	/** 本金返还 */
	REPAY("repay", "sub"),
	/** 利息返还 */
	INTEREST("interest", "add"),
	/** 奖励-利息返还 */
	PLUS("plus", "add"),
	/** 流标返款 */
	FLOW("flow", "add"),
	/** 加息券-利息返还 */
	JXQ("jxq", "add"),
	/** 投资红包-收益返还 */
	TZHB("tzhb", "add"),
	/** 现金红包-收益返还 */
	XJHB("xjhb", "add"),
	/** 体验金-收益返还 */
	TYJ("tyj", "add"),
	/** 充值 */
	DEPOSIT("deposit", "add"),
	/** 充值-手续费 */
	DEPOSIT_FEE("deposit_fee", "sub"),
	/** 提现 */
	WITHDRAW("withdraw", "sub"),
	/** 提现-手续费 */
	WITHDRAW_FEE("withdraw_fee", "sub"),
	/** 投资 */
	INVEST("invest", "sub"),
	/** 满标放款 */
	LOAN("loan", "add");
	
	/**
	 * 	/** 奖励加息券 
	JXQ("jxq", "add"),
	奖励体验金 
	TYJ("tyj", "add"),
	 奖励投资红包 
	TZHB("tzhb", "add"),
	 奖励现金红包 
	XJHB("xjhb", "add")
	 */
	
	/** 枚举值 */
	private final String type;
	
	/** 枚举描述 */
	private final String mode;
	
	/**
	 * 构造一个<code>InvestStatus</code>枚举对象
	 * 
	 * @param code
	 * @param message
	 */
	private InvestLogType(String type, String mode) {
		this.type = type;
		this.mode = mode;
	}
	
	/**
	 * @return Returns the code.
	 */
	public String getType() {
		return type;
	}
	
	/**
	 * @return Returns the message.
	 */
	public String getMode() {
		return mode;
	}
	
	/**
	 * @return Returns the code.
	 */
	public String type() {
		return type;
	}
	
	/**
	 * @return Returns the message.
	 */
	public String mode() {
		return mode;
	}
}
